home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
MATHS
/
RLAB
/
RLAB125.ZIP
/
!RLaB
/
help_sz
/
sign
< prev
next >
Wrap
Text File
|
1994-07-13
|
303b
|
21 lines
sign:
Synopsis: Sign function.
Syntax: sign ( A )
Description:
For real scalar argument, sign returns:
1 if A > 0
0 if A == 0
-1 if A < 0
For a complex scalar sign returns:
A ./ abs (A)
sign performs its operation on real and complex matrices in an
element by element fashion.